package com.ttj.domain.oracle.gen;

import java.io.Serializable;
import java.util.Date;

public class SuperOrderInstockDetail implements Serializable {
    /**
     * 订单编号
     */
    private Integer orderId;

    /**
     * 商品ID
     */
    private Integer gId;

    /**
     * 商品数量
     */
    private Integer num;

    /**
     * 仓库ID
     */
    private Integer stockId;

    /**
     * 入库单号
     */
    private Integer inId;

    /**
     * 入库时间--应该是最近一次入库时间
     */
    private Date oIndate;

    /**
     * 已经入库的数量
     */
    private Integer doneNum;

    /**
     * 公斤
     */
    private Double weight;

    /**
     * 真实数量
     */
    private Integer realNum;

    /**
     * 真实重量
     */
    private Double realWeight;

    /**
     * 司机拉货数量
     */
    private Integer confirmNum;

    /**
     * 司机拉货公斤
     */
    private Double confirmWeight;

    private static final long serialVersionUID = 1L;

    /**
     * 订单编号
     */
    public Integer getOrderId() {
        return orderId;
    }

    /**
     * 订单编号
     */
    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    /**
     * 商品ID
     */
    public Integer getgId() {
        return gId;
    }

    /**
     * 商品ID
     */
    public void setgId(Integer gId) {
        this.gId = gId;
    }

    /**
     * 商品数量
     */
    public Integer getNum() {
        return num;
    }

    /**
     * 商品数量
     */
    public void setNum(Integer num) {
        this.num = num;
    }

    /**
     * 仓库ID
     */
    public Integer getStockId() {
        return stockId;
    }

    /**
     * 仓库ID
     */
    public void setStockId(Integer stockId) {
        this.stockId = stockId;
    }

    /**
     * 入库单号
     */
    public Integer getInId() {
        return inId;
    }

    /**
     * 入库单号
     */
    public void setInId(Integer inId) {
        this.inId = inId;
    }

    /**
     * 入库时间--应该是最近一次入库时间
     */
    public Date getoIndate() {
        return oIndate;
    }

    /**
     * 入库时间--应该是最近一次入库时间
     */
    public void setoIndate(Date oIndate) {
        this.oIndate = oIndate;
    }

    /**
     * 已经入库的数量
     */
    public Integer getDoneNum() {
        return doneNum;
    }

    /**
     * 已经入库的数量
     */
    public void setDoneNum(Integer doneNum) {
        this.doneNum = doneNum;
    }

    /**
     * 公斤
     */
    public Double getWeight() {
        return weight;
    }

    /**
     * 公斤
     */
    public void setWeight(Double weight) {
        this.weight = weight;
    }

    /**
     * 真实数量
     */
    public Integer getRealNum() {
        return realNum;
    }

    /**
     * 真实数量
     */
    public void setRealNum(Integer realNum) {
        this.realNum = realNum;
    }

    /**
     * 真实重量
     */
    public Double getRealWeight() {
        return realWeight;
    }

    /**
     * 真实重量
     */
    public void setRealWeight(Double realWeight) {
        this.realWeight = realWeight;
    }

    /**
     * 司机拉货数量
     */
    public Integer getConfirmNum() {
        return confirmNum;
    }

    /**
     * 司机拉货数量
     */
    public void setConfirmNum(Integer confirmNum) {
        this.confirmNum = confirmNum;
    }

    /**
     * 司机拉货公斤
     */
    public Double getConfirmWeight() {
        return confirmWeight;
    }

    /**
     * 司机拉货公斤
     */
    public void setConfirmWeight(Double confirmWeight) {
        this.confirmWeight = confirmWeight;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", orderId=").append(orderId);
        sb.append(", gId=").append(gId);
        sb.append(", num=").append(num);
        sb.append(", stockId=").append(stockId);
        sb.append(", inId=").append(inId);
        sb.append(", oIndate=").append(oIndate);
        sb.append(", doneNum=").append(doneNum);
        sb.append(", weight=").append(weight);
        sb.append(", realNum=").append(realNum);
        sb.append(", realWeight=").append(realWeight);
        sb.append(", confirmNum=").append(confirmNum);
        sb.append(", confirmWeight=").append(confirmWeight);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SuperOrderInstockDetail other = (SuperOrderInstockDetail) that;
        return (this.getOrderId() == null ? other.getOrderId() == null : this.getOrderId().equals(other.getOrderId()))
            && (this.getgId() == null ? other.getgId() == null : this.getgId().equals(other.getgId()))
            && (this.getNum() == null ? other.getNum() == null : this.getNum().equals(other.getNum()))
            && (this.getStockId() == null ? other.getStockId() == null : this.getStockId().equals(other.getStockId()))
            && (this.getInId() == null ? other.getInId() == null : this.getInId().equals(other.getInId()))
            && (this.getoIndate() == null ? other.getoIndate() == null : this.getoIndate().equals(other.getoIndate()))
            && (this.getDoneNum() == null ? other.getDoneNum() == null : this.getDoneNum().equals(other.getDoneNum()))
            && (this.getWeight() == null ? other.getWeight() == null : this.getWeight().equals(other.getWeight()))
            && (this.getRealNum() == null ? other.getRealNum() == null : this.getRealNum().equals(other.getRealNum()))
            && (this.getRealWeight() == null ? other.getRealWeight() == null : this.getRealWeight().equals(other.getRealWeight()))
            && (this.getConfirmNum() == null ? other.getConfirmNum() == null : this.getConfirmNum().equals(other.getConfirmNum()))
            && (this.getConfirmWeight() == null ? other.getConfirmWeight() == null : this.getConfirmWeight().equals(other.getConfirmWeight()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getOrderId() == null) ? 0 : getOrderId().hashCode());
        result = prime * result + ((getgId() == null) ? 0 : getgId().hashCode());
        result = prime * result + ((getNum() == null) ? 0 : getNum().hashCode());
        result = prime * result + ((getStockId() == null) ? 0 : getStockId().hashCode());
        result = prime * result + ((getInId() == null) ? 0 : getInId().hashCode());
        result = prime * result + ((getoIndate() == null) ? 0 : getoIndate().hashCode());
        result = prime * result + ((getDoneNum() == null) ? 0 : getDoneNum().hashCode());
        result = prime * result + ((getWeight() == null) ? 0 : getWeight().hashCode());
        result = prime * result + ((getRealNum() == null) ? 0 : getRealNum().hashCode());
        result = prime * result + ((getRealWeight() == null) ? 0 : getRealWeight().hashCode());
        result = prime * result + ((getConfirmNum() == null) ? 0 : getConfirmNum().hashCode());
        result = prime * result + ((getConfirmWeight() == null) ? 0 : getConfirmWeight().hashCode());
        return result;
    }
}